package com.bw.shoppingmall.mvvm.model.entity;

import android.text.TextUtils;

import com.bw.mvvm_comom.entity.BaseEntity;
import com.google.gson.Gson;

public class TokenEntity extends BaseEntity {
    public String values;

    public Values getValues(){
        if (TextUtils.isEmpty(values)) {
            return null;
        }
        Values values = new Gson().fromJson(this.values, Values.class);
        return values;
    }
    public static class Values{
        public String token;
    }
}
